package com.kaishengit.service;

import java.util.List;

import com.kaishengit.dao.TaskDao;
import com.kaishengit.entity.Task;

public class TaskService {

	private TaskDao taskDao = new TaskDao();
	
	public List<Task> findAllTaskByGoalId(int goalId) {
		return taskDao.findAllTaskByGoalId(goalId);
	}

	public void save(Task task) {
		taskDao.save(task);
		
	}

	
	
}
